<?php
class announcements_view extends SClass {

    public function process() {
    	$announcement = ServiceUtils::GetFactory()->getAnnouncementService()->getAnnouncementById(
    		$this->getArgument('id')
    	);
    	$this->assign('title', $announcement->getTitle());
    	$this->assign('content', $announcement->getContent());
    }

}